package com.example.mybatisplus.mapper;

import com.example.mybatisplus.model.domain.Tea;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yp
 * @since 2021-10-22
 */
@Repository
public interface TeaMapper extends BaseMapper<Tea> {
        /*查询老师个人信息*/
        Tea selectByNumber1(String teaNumber);

        void updateByTeaNumber(String teaNumber, Tea tea);

        void deleteByTeaNumber(String teaNumber);

    List<Tea> selectByTea(@Param("tea") Tea tea);

    /* *//*修改老师基本信息*//*
        Tea updateByNumber1(String teaNumber);*/

}
